f4be5a9331cdb57535f36db8e20d36e2b6fc300d,concurrent-trees/trunk/src/test/java/com/googlecode/concurrenttrees/examples/usage/SuffixTreeUsage.java,SuffixTreeUsage,main,#String[]#,31
Before Change
System.out.println("Value for 'TOAST' (exact match): " + tree.getValueForExactKey("TOAST"));
System.out.println();
System.out.println("Keys ending with 'ST': " + tree.getKeysEndingWith("ST"));
System.out.println("Keys ending with 'M': " + tree.getKeysEndingWith("M"));
System.out.println("Values for keys ending with 'ST': " + tree.getValuesForKeysEndingWith("ST"));
System.out.println("Key-Value pairs for keys ending with 'ST': " + tree.getKeyValuePairsForKeysEndingWith("ST"));
System.out.println();
After Change
System.out.println("Value for 'TOAST' (exact match): " + tree.getValueForExactKey("TOAST"));
System.out.println();
System.out.println("Keys ending with 'ST': " + Iterables.toString(tree.getKeysEndingWith("ST")));
System.out.println("Keys ending with 'M': " + Iterables.toString(tree.getKeysEndingWith("M")));
System.out.println("Values for keys ending with 'ST': " + Iterables.toString(tree.getValuesForKeysEndingWith("ST")));
System.out.println("Key-Value pairs for keys ending with 'ST': " + Iterables.toString(tree.getKeyValuePairsForKeysEndingWith("ST")));
System.out.println();
System.out.println("Keys containing 'TE': " + Iterables.toString(tree.getKeysContaining("TE")));
System.out.println("Keys containing 'A': " + Iterables.toString(tree.getKeysContaining("A")));
System.out.println("Values for keys containing 'A': " + Iterables.toString(tree.getValuesForKeysContaining("A")));
System.out.println("Key-Value pairs for keys containing 'A': " + Iterables.toString(tree.getKeyValuePairsForKeysContaining("A")));
}